using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
namespace MicroMsg.UI.UserContrl
{
	public class VisualTreeAdapter : ILinqTree<DependencyObject>
	{
		private DependencyObject _item;
		public DependencyObject Parent
		{
			get
			{
				return VisualTreeHelper.GetParent(this._item);
			}
		}
		public VisualTreeAdapter(DependencyObject item)
		{
			this._item = item;
		}
		public IEnumerable<DependencyObject> Children()
		{
			VisualTreeAdapter.<Children>d__0 <Children>d__ = new VisualTreeAdapter.<Children>d__0(-2);
			<Children>d__.<>4__this = this;
			return <Children>d__;
		}
	}
}
